package logique.reseau.caracteristiques;


/**
 * 
 * @author camille
 *
 */
public class Peage extends Caracteristique {

	private static Peage singleton;
	private final String intitule;

	private Peage() {
		intitule = "payant";
	}

	public static Peage getInstance() {
		if (singleton == null) {
			singleton = new Peage();
		}

		return singleton;
	}

	@Override
	public boolean est(String intitule) {
		return intitule.equals(this.intitule);
	}

	@Override
	public String intitule() {
		return intitule;
	}
}
